﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace h1
{
    public class Student
    {
        public string StudentId { get; set; }
        public string Name { get; set; }
        public int Age { get; set; }
        public string Grade { get; set; }

        public Student(string studentId, string name, int age, string grade)
        {
            StudentId = studentId;
            Name = name;
            Age = age;
            Grade = grade;
        }

        public override string ToString()
        {
            return $"学号：{StudentId}，姓名：{Name}，年龄：{Age}，年级：{Grade}";
        }
    }
}